package nick.xbmc.library
{
	import flash.utils.ByteArray;
	
	import mx.controls.Image;
	
	public class Movie
	{
		private var _title:String;
		private var _plot:String;
		private var _tagline:String;
		private var _thumbInUse:String;
		private var _fanartInUse:String;
		
		private var _thumbnails:Array;
		
		private var _runtime:String;
		private var _mpaaRating:String;
		private var _studio:String;
		
		private var _fanartUrls:Array;
		
		private var _idFile:String;
		private var _file:String;
		private var _path:String;
		private var _idPath:String;
		private var _movieID:String;
		private var _plotOutline:String;
		private var _ratingVotes:String;
		private var _rating:String;
		private var _writers:String;
		private var _yearReleased:String;
		private var _imdbid:String;
		private var _genre:String;
		private var _director:String;
		
		private var _thumbBytes:ByteArray;
		private var _fanartBytes:ByteArray;
		
		public function Movie()
		{
			
		}
		
		public function get ThumbBytes():ByteArray
		{
			return _thumbBytes;
		}
		
		public function set ThumbBytes(value:ByteArray):void
		{
			_thumbBytes = value;
		}
		
		public function get FanartBytes():ByteArray
		{
			return _fanartBytes;
		}
		
		public function set FanartBytes(value:ByteArray):void
		{
			_fanartBytes = value;
		}
		
		public function get MovieID():String
		{
			return _movieID;
		}
		
		public function set MovieID(value:String):void
		{
			_movieID = value;
		}
		
		public function get FanartInUse():String
		{
			return _fanartInUse;
		}
		
		public function set FanartInUse(value:String):void
		{
			_fanartInUse = value;
		}
		
		public function get ThumbInUse():String
		{
			return _thumbInUse;
		}
		
		public function set ThumbInUse(value:String):void
		{
			_thumbInUse = value;
		}
		
		public function get IDPath():String
		{
			return _idPath;
		}
		
		public function set IDPath(value:String):void
		{
			_idPath = value;
		}
		
		public function get File():String
		{
			return _file;
		}
		
		public function set File(value:String):void
		{
			_file = value;
		}
		
		public function get Path():String
		{
			return _path;
		}
		
		public function set Path(value:String):void
		{
			_path = value;
		}
		
		public function get IDFile():String
		{
			return _idFile;
		}
		
		public function set IDFile(value:String):void
		{
			_idFile = value;
		}
		
		public function get FanartURLS():Array
		{
			return _fanartUrls;
		}
		
		public function set FanartURLS(value:Array):void
		{
			_fanartUrls = value;
		}		
		
		public function get Studio():String
		{
			return _studio;
		}
		
		public function set Studio(value:String):void
		{
			_studio = value;
		}
		
		public function get MPAARating():String
		{
			return _mpaaRating;
		}
		
		public function set MPAARating(value:String):void
		{
			_mpaaRating = value;
		}
		
		public function get Runtime():String
		{
			return _runtime;
		}
		
		public function set Runtime(value:String):void
		{
			_runtime = value;
		}
		
		public function get ThumbnailURLS():Array
		{
			return _thumbnails;
		}
		
		public function set ThumbnailURLS(value:Array):void
		{
			_thumbnails = value;
		}
		
		public function get Tagline():String
		{
			return _tagline;	
		}
		
		public function set Tagline(value:String):void
		{
			_tagline = value;
		}
		
		public function get Title():String
		{
			return _title;
		}
		
		public function set Title(value:String):void
		{
			_title = value;
		}
		
		public function get Plot():String
		{
			return _plot;
		}
		
		public function set Plot(value:String):void
		{
			_plot = value;
		}
		
		public function get PlotOutline():String
		{
			return _plotOutline;
		}
		
		public function set PlotOutline(value:String):void
		{
			_plotOutline = value;
		}
		
		public function get RatingVotes():String
		{
			return _ratingVotes;
		}
		
		public function set RatingVotes(value:String):void
		{
			_ratingVotes = value;
		}		
		
		public function get Rating():String
		{
			return _rating;
		}
		
		public function set Rating(value:String):void
		{
			_rating = value;
		}
		
		public function get Writers():String
		{
			return _writers;
		}
		
		public function set Writers(value:String):void
		{
			_writers = value;
		}
		
		public function get YearReleased():String
		{
			return _yearReleased;
		}
		
		public function set YearReleased(value:String):void
		{
			_yearReleased = value;
		}
		
		public function get IMDBID():String
		{
			return _imdbid;
		}
		
		public function set IMDBID(value:String):void
		{
			_imdbid = value;
		}
		
		public function get Genre():String
		{
			return _genre;
		}
		
		public function set Genre(value:String):void
		{
			_genre = value;
		}
		
		public function get Director():String
		{
			return _director;
		}
		
		public function set Director(value:String):void
		{
			_director = value;
		}
		
		public function toString():String
		{
			var string:String = "Title: " + _title + "\nPlot: " + _plot + "\nTagline: " + _tagline + "\nRuntime: " + _runtime + "\nMPAA Rating: " + 
								_mpaaRating + "\nFan Art: " + _fanartUrls.toString() + "\nStudio: " + _studio + "\nFile ID: " + _idFile
								 + "\nPath ID: " + _idPath + "\nPath: " + _path + "\nFile: " + _file;
								 
			return string;
		}
	}
}